package com.howcan.widget;

import com.howcan.v1.R;

import android.content.Context;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.LinearLayout;

public class ExitMainDialog extends LinearLayout
{
  CheckBox cb;
  public boolean isChecked = false;

  public ExitMainDialog(Context paramContext)
  {
    super(paramContext);
    inflate(paramContext, R.layout.exit_main_dialog, this);
    this.cb = ((CheckBox)findViewById(R.id.exit_dialog_checkbox));
    this.cb.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener()
    {
      public void onCheckedChanged(CompoundButton paramCompoundButton, boolean paramBoolean)
      {
        ExitMainDialog.this.isChecked = paramBoolean;
//        HttpBase.doEventStatistics("index", "index_esc", "", 0);
      }
    });
  }

  public void onFinishInflate()
  {
    super.onFinishInflate();
  }
}
